package com.atqh.logistics.domin;

import com.atqh.logistics.utils.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @TableName notice
 */
@TableName(value = "notice")
@Data
@ApiModel(value="Notice对象", description="公告")
public class Notice extends BaseEntity {

    /**
     * 公告标题
     */
    @ApiModelProperty(value = "公告标题")
    private String title;

    /**
     * 公告内容
     */
    @ApiModelProperty(value = "公告内容")
    private String content;

    /**
     * 逻辑删除(1:删除；0：未删除)
     */
    @ApiModelProperty(value = " 逻辑删除(1:删除；0：未删除)")
    @TableLogic
    private Integer isDeleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}